package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockSupply;
import com.zshan.clinic.database.model.StockSupplyExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockSupplyMapper extends SuperMapper {
    long countByExample(StockSupplyExample example);

    int deleteByExample(StockSupplyExample example);

    int deleteByPrimaryKey(Long supplyId);

    int insert(StockSupply row);

    int insertSelective(StockSupply row);

    List<StockSupply> selectByExample(StockSupplyExample example);

    StockSupply selectByPrimaryKey(Long supplyId);

    int updateByExampleSelective(@Param("row") StockSupply row, @Param("example") StockSupplyExample example);

    int updateByExample(@Param("row") StockSupply row, @Param("example") StockSupplyExample example);

    int updateByPrimaryKeySelective(StockSupply row);

    int updateByPrimaryKey(StockSupply row);
}